It is a very colloquial way of saying good-bye, to say goodbye. Goodbye, see you soon, bye. Farewell.
Ta luego is an abbreviation of hasta luego